package com.portal.framework.common;
		
public class PortalSearchBean {

	private String name;
	
	private Integer currentPage;
	
	private Integer page;
	
	private Integer pageSize=15;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCurrentPage() {
		if(currentPage==null||currentPage<0)
			currentPage=0;
		return currentPage;
	}

	public void setCurrentPage(Integer currentPage) {
		this.currentPage = currentPage;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPage() {
		if(page==null||page<0)
			page=0;
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}
}

		